package com.zmn.oms.task.job.attendance;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author: huangyifeng
 * @description: 健康考勤常量类
 * @create: 2020-02-11 17:06
 **/
@Component
public class AttendanceConsts {

    public static boolean ON_OFF;

    public static final String HEALTH_ATTENDANCE = "健康考勤";

    @Value("${Healthy.top.no-off:false}")
    public void setPowerOn(boolean onOff) {
        ON_OFF = onOff;
    }
}
